WPMailSMTP\Providers\SparkPost\Mailer A

Total Complexity 69
Dependencies 2
Dependents 0
Total lines 550
Lines of code 285
Logical lines of code 118
Comment lines 174
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
set_recipients()
A
46 13 37
get_response_error()
A
54 8 19
set_content()
S
49 6 43
set_reply_to()
S
54 6 22
__construct()
S
51 4 27
set_body_header()
S
58 3 16
set_from()
S
59 3 16
set_headers()
S
63 4 9
prepare_attachments()
S
59 3 15
set_attachments()
S
60 3 15
build_recipient()
S
62 3 12
process_response()
S
64 3 10
get_debug_info()
S
64 3 8
sanitize_header_value()
S
61 2 15
is_mailer_complete()
S
68 2 7
set_return_path()
S
98 1 1
get_body()
S
76 1 4
set_subject()
S
68 1 9